package com.tcmj.dining.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tcmj.common.annotation.Excel;
import com.tcmj.common.core.domain.BaseEntity;

/**
 * 菜品对象 tz_vagetables
 * 
 * @author tcmj
 * @date 2020-05-17
 */
public class TzVagetables extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品id */
    private Long vagetablesId;

    /** 所属餐厅 */
    @Excel(name = "所属餐厅")
    private Long diningId;

    /** 菜品图片 */
    @Excel(name = "菜品图片")
    private String vagetablesUrl;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String vagetablesName;

    /** 菜品价格 */
    @Excel(name = "菜品价格")
    private Double price;

    /** 菜品味道 */
    @Excel(name = "菜品味道")
    private String taste;

    /** 菜品材料 */
    @Excel(name = "菜品材料")
    private String materials;
    
    //首页
    private int pageNum;
    
    //当前页
    private int currentPageNum;
    
    //页面大小
    private int pageSize;
    
    //上一页
    private boolean hasPrevious;
    
    //下一页
    private boolean hasNext;
    
    private int totalPageNum;

    private TzDiningRoom tzDiningRoom;
    
    public void setVagetablesId(Long vagetablesId) 
    {
        this.vagetablesId = vagetablesId;
    }

    public Long getVagetablesId() 
    {
        return vagetablesId;
    }
    public void setDiningId(Long diningId) 
    {
        this.diningId = diningId;
    }

    public Long getDiningId() 
    {
        return diningId;
    }
    public void setVagetablesUrl(String vagetablesUrl) 
    {
        this.vagetablesUrl = vagetablesUrl;
    }

    public String getVagetablesUrl() 
    {
        return vagetablesUrl;
    }
    public void setVagetablesName(String vagetablesName) 
    {
        this.vagetablesName = vagetablesName;
    }

    public String getVagetablesName() 
    {
        return vagetablesName;
    }
    public void setPrice(Double price) 
    {
        this.price = price;
    }

    public Double getPrice() 
    {
        return price;
    }
    public void setTaste(String taste) 
    {
        this.taste = taste;
    }

    public String getTaste() 
    {
        return taste;
    }
    public void setMaterials(String materials) 
    {
        this.materials = materials;
    }

    public String getMaterials() 
    {
        return materials;
    }

    public TzDiningRoom getTzDiningRoom() {
		return tzDiningRoom;
	}

	public void setTzDiningRoom(TzDiningRoom tzDiningRoom) {
		this.tzDiningRoom = tzDiningRoom;
	}
	
	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getTotalPageNum() {
		return totalPageNum;
	}

	public void setTotalPageNum(int totalPageNum) {
		this.totalPageNum = totalPageNum;
	}

	public int getCurrentPageNum() {
		return currentPageNum;
	}

	public void setCurrentPageNum(int currentPageNum) {
		this.currentPageNum = currentPageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public boolean isHasPrevious() {
		return hasPrevious;
	}

	public void setHasPrevious(boolean hasPrevious) {
		this.hasPrevious = hasPrevious;
	}

	public boolean isHasNext() {
		return hasNext;
	}

	public void setHasNext(boolean hasNext) {
		this.hasNext = hasNext;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vagetablesId", getVagetablesId())
            .append("diningId", getDiningId())
            .append("vagetablesUrl", getVagetablesUrl())
            .append("vagetablesName", getVagetablesName())
            .append("price", getPrice())
            .append("taste", getTaste())
            .append("materials", getMaterials())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
